import { createApp } from 'vue'
import App from './App.vue'
//初始化浏览器样式
import 'normalize.css'
//配置项目需要的样式
import '@/assets/styles/common.less'
//挂载路由
import router from '@/router/index'
//pinia
import {createPinia} from 'pinia'
//持久化存储插件
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
//全局注册封装的组件
import XtxUI from '@/components/index'




const app =createApp(App)
app.use(XtxUI)
app.use(router)
app.use(pinia)
app.mount('#app')
